<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link rel="stylesheet" href="/js/bootstrap-table/bootstrap-table-1.18.3.min.css">
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/css/skin.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/finance/payment-record.css">
    <style>
        #customInput{
            display: none;
        }
    </style>
</head>
<body>
<input type="hidden" id="dateStatusType" value="1">
<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-sm-12">
            <div class="card">
                <div class="card-header">
                    <h1>到款统计</h1>
                </div>
                <div class="card-body">
                    <div class="row content-action">
                        <div class="col-lg-10 col-md-10 col-sm-10 col-xs-12">
                            <!-- 全部 本周 本月 本年 -->
                            <div class="time-search pull-left">
                                <input type="hidden" id="dateType" name="dateType"/>
                                <div class="all active-second" onclick="selectTime('all')">全部</div>
                                <div class="week"  onclick="selectTime('week')">本周</div>
                                <div class="month" onclick="selectTime('month')">本月</div>
                                <div class="topDay" onclick="selectTime('topDay')">昨天</div>
                                <div class="day" onclick="selectTime('day')">今天</div>
                                <div class="year" onclick="selectTime('year')">本年</div>
<!--                                <div class="customize" onclick="selectTime('customize')">自定义</div>-->
                            </div>
<!--                            <div class="custom-input pull-left" id="customInput" style="margin-left: 10px;width: 310px;">-->
<!--                                <div class="input-group">-->
<!--                                    <input type="text" class="form-control datepicker" placeholder="开始时间" id="startTm">-->
<!--                                    <span class="input-group-addon">至</span>-->
<!--                                    <input type="text" class="form-control datepicker" placeholder="结束时间" id="endTm">-->
<!--                                    <div class="input-group-btn">-->
<!--                                        <button type="button" class="btn btn-default" id="customDateBtn">确定</button>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                            </div>-->
                        </div>
                        <div class="col-lg-12 col-md-5 col-sm-5 col-xs-12">
                            <div class="pull-right">
                                <div class="pull-right">
                                    <button class="btn btn-default btn-senior" data-toggle="collapse"
                                            data-target="#filterContentNew" aria-expanded="false"
                                            aria-controls="filterContentNew">
                                        <i class="mdi mdi-sort-variant"></i>高级筛选
                                    </button>
                                </div>
                                <div class="min-search pull-left">
                                    <input class="form-control" type="text" placeholder="请输入公司名称"
                                           id="compNameSearch" name="compNameSearch">
                                    <button class="btn btn-primary" type="button" onclick="searchReturnMoneyList(1)">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span>
                                    </button>
                                </div>
                                <div class="pull-right">
                                    <button class="btn btn-default " onclick="exportData()">
                                        <i class="mdi mdi-sort-variant" ></i>导出
                                    </button>
                                </div>
                            </div>
                        </div>

                        <!--<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12">
                            <div class="btn btn-primary pull-right" data-dismiss="modal" onclick="exportData()">导出</div>
                        </div>-->
                    </div>
                    <div class="collapse filter-content" id="filterContentNew">
                        <div class="row">
                            <div class="form-group col-lg-4  col-md-4 col-sm-6 col-xs-12">
                                <label class="control-label" for="startTm">起止时间</label>
                                <div class="form-content input-group">
                                    <input type="text" id="startTm" class="form-control search-time date-input datepicker"
                                           placeholder="起">
                                    <span class="input-group-addon">-</span>
                                    <input type="text" id="endTm" class="form-control search-time date-input datepicker"
                                           placeholder="止">
                                </div>
                            </div>
                            <div class="form-group col-lg-4 col-md-4 col-sm-6 col-xs-12" id="companySelectDiv">

                                <label for="companySelect" class="label-required">所属分公司</label>
                                <div>
                                    <select id="companySelect" class="form-control" type="text" data-live-search="true" name="companySelect">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 btn-box">
                                <label>&nbsp;</label>
                                <div class="text-right">
                                    <button class="btn btn-link" onclick="clearAllData()">重置</button>
                                    <button class="btn btn-primary" type="button" onclick="searchReturnMoneyList(2)">
                                        <i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <table id="orderTableList"></table>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</body>

<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min-1.18.3.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script type="text/javascript" src="/js/crm/common/common.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns-1.18.3.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 拖动 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/finance/superStatReturnMoney.js"></script>

</html>